\documentclass[preview]{standalone}

\usepackage{graphicx}
\usepackage{balance}  % for  \balance command ON LAST PAGE  (only there!)
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{calc}

\begin{document}

\begin{figure}

\resizebox{\linewidth}{!}{%
\begin{tikzpicture}[-,auto,,
  lines/.style={transparent}]
  \node [circle, draw] (n7) at (6,4) {};
  \node [circle, draw] (n6) at (7,3) {};
  \node [circle, draw] (n5) at (5,3) {};
  \node [circle, draw] (n4) at (8,2) {};
  \node [circle, draw] (n3) at (4,2) {};
  \node [rectangle, draw] (n01) at (3,1) {};
  \node [rectangle, draw] (n02) at (5,1) {};
  \node [rectangle, draw] (n03) at (7,1) {};
  \node [rectangle, draw] (n04) at (9,1) {};
  
  \node [] (agglabel) at (0,3) {Aggregation Overlay};
  \node [] (complabel) at (0,1) {Computation at Local Nodes};

  \path[every node/.style={font=\sffamily\small}]
    (n7)edge [] node[left]{} (n6)
        edge [] node[left]{} (n5)
    (n6)edge [line width=1.25pt, line cap=round, dash pattern=on 0pt off 6\pgflinewidth ] node[left]{} (n4)
    (n5)edge [line width=1.25pt, line cap=round, dash pattern=on 0pt off 6\pgflinewidth] node[left]{} (n3)
    (n3)edge [] node[left]{} (n01)
        edge [] node[left]{} (n02)
    (n4)edge [] node[left]{} (n03)
        edge [] node[left]{} (n04);

\path (n5) -- (n6) node [midway] {$\cdots$};
\path (n3) -- (n4) node [midway] {$\cdots$};
\path (n01) -- (n02) node [midway] {$\cdots$};
\path (n02) -- (n03) node [midway] {$\cdots$};
\path (n03) -- (n04) node [midway] {$\cdots$};
\draw [-,decorate,decoration=snake] (0,1.5) -- (9.5,1.5);
%\draw [thick, dotted] ($(n4.north west)+(-0.15,0.15)$)  rectangle ($(n2.south
%east)+(0.15,-0.15)$);
%\draw [-,thick, dotted] ($(n3.north west)+(-0.15,0.15)$)  rectangle ($(n1.south
%east)+(0.15,-0.15)$);
\end{tikzpicture}
}
\end{figure}

\end{document}